package org.darkforest.common.services;

import org.darkforest.model.OrderGoods;
import org.darkforest.model.OrderGoodsSearchBean;

import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2015/8/31.
 */
public interface OrderGoodsService {
    /**
     * 根据条件查询订单商品信息
     * @param orderGoods
     * @return
     */
    OrderGoods findOrderGoodsByCond(OrderGoods orderGoods);

    List<Map<String,Object>> Top50OrderAmount(OrderGoodsSearchBean goods);

    List<Map<String,Object>> Top50GoodsCount(OrderGoodsSearchBean goods);

    List<Map<String,Object>> goodsSaleDetail(OrderGoodsSearchBean goods);
}
